package com.heima.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.github.pagehelper.Page;
import com.heima.pojo.dto.NodeSearchDto;
import com.heima.pojo.entity.Node;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.heima.pojo.vo.NodeVO;
import com.heima.pojo.vo.VendingMachineVo;

/**
 * <p>
 * 点位表 Mapper 接口
 * </p>
 *
 * @author ljk
 * @since 2024-10-16
 */
public interface NodeMapper extends BaseMapper<Node> {


    IPage<NodeVO> selectPageVO(IPage<NodeVO> page, NodeSearchDto dto);

    Page<NodeVO> pageQuery(String regionId);

    VendingMachineVo selectVMDetail(String nodeId);

    NodeVO selectNodeVoById(String nodeId);
}
